package com.sky.service;

import com.sky.Entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void add(AddressBook addressBook);

    List<AddressBook> list();

    AddressBook defaultAddress();

    void modifyAddress(AddressBook addressBook);

    void deleteAddressById(Long id);

    AddressBook queryAddressById(Long id);

    void setdefault(AddressBook addressBook);
}
